package com.lej.dataservice.club.http.rx;

public class CustomNetworkException extends RuntimeException {
    private int code;

    public CustomNetworkException(int code, String message) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    @Override
    public String toString() {
        return "CustomNetworkException{" +
                "code=" + code +
                '}';
    }
}
